-
Notifications
You must be signed in to change notification settings - Fork 898
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding flavor as a has one on VM #17692
Conversation
bf256e7
to
d515e53
Compare
@miq-bot assign @gtanzillo |
d515e53
to
3a5b1fd
Compare
This seems to be almost generating the correct query. But I don't want
Running produces this
Which is more what I was hopping would happen from adding https://github.com/ManageIQ/manageiq/pull/17692/files#diff-fb7c3f0121965870e99fe02ec498cf65R63 UpdateThink this might be it
|
3a5b1fd
to
dbc6355
Compare
dbc6355
to
fdc4166
Compare
Checked commit juliancheal@fdc4166 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0 |
@juliancheal @gtanzillo Can this be |
@simaishi Yes, I think so. |
Adding flavor as a has one on VM (cherry picked from commit fb7a26d) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1607441
Gaprindashvili backport details:
|
Adding flavor as a has one on VM (cherry picked from commit fb7a26d) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1607442
Fine backport details:
|
Adding flavor as a has one on VM (cherry picked from commit fb7a26d) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1607442
I basically want to search Vms like
vms = Flavor.joins(:vms).where(:flavors => {:name => 't2.micro'})
so that in the api we can filter by flavor name
http://localhost:3000/api/vms?filter[]=flavor.name='t2.micro'
Fixes BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1596069